package com.zytlifeservice.repository;

import com.zytlifeservice.domain.BaseIcon;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by MJS on 2017/5/8.
 */
public interface BaseIconRepository extends JpaRepository<BaseIcon, Long> {
    public List<BaseIcon> findAllByType(int type);

    public List<BaseIcon> findAllByTypeIn(int[] types);
}
